/*******************************************************************************
* Copyright (c) 2012 
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* zhangliang - initial API and implementation
*******************************************************************************/

#ifndef CORE_ERROR_CODE_H
#define CORE_ERROR_CODE_H

#ifdef __cplusplus
namespace core_error {
#endif 

enum core_error_t {
  invalid_parameters = 1,
  handle_serial_number_overflow,
  svr_id_overflow,
  load_module_failed,
  invalid_service_name,
  dup_service_name,
  service_init_failed,
  send_dest_not_exist,
  ejector_is_down,
};

#ifdef __cplusplus
}
#endif

#endif // CORE_ERROR_CODE_H

